package states.gameplay.shapors;

import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;

public class Expandor extends Shapor {
	
	

	private Image _render;
	
	public Expandor(int deployLimits, Image render, int cost, int deployCicles, int energyUpkeep) {
		super(deployLimits, cost, deployCicles, 0, energyUpkeep);
		
		_render = render;
	}

	@Override
	public void render(Graphics g, int x, int y) {
		
		//(render.getWidth()+cell_size)/2, startY + y * cell_size - (render.getHeight() + cell_size)/2
		_render.draw(x - (_render.getWidth())/2, y - (_render.getHeight())/2);
	}

}
